package com.jingdianjichi.auth.domain.service;

import com.jingdianjichi.auth.domain.entity.AuthPermissionBO;

import java.util.List;

public interface AuthPermissionDomainService {

    //新增权限
    Boolean add(AuthPermissionBO permissionBO);

    //修改权限
    Boolean update(AuthPermissionBO permissionBO);

    //删除
    Boolean delete(AuthPermissionBO permissionBO);

    //查询用户的权限
    List<String> getPermission(String userName);
}
